let dbFieldType = [
    {label: 'char', value: 'CHAR'},
    {label: 'varchar', value: 'VARCHAR'},
    {label: 'int', value: 'INT'},
    {label: 'bigint', value: 'BIGINT'},
    {label: 'decimal', value: 'DECIMAL'},
    {label: 'date', value: 'DATE'},
    {label: 'time', value: 'TIME'},
    {label: 'datetime', value: 'DATETIME'},
    {label: 'timestamp', value: 'TIMESTAMP'},
    {label: 'float', value: 'FLOAT'},
    {label: 'double', value: 'DOUBLE'},
    {label: 'enum', value: 'ENUM'},
    {label: 'text', value: 'TEXT'},
    {label: 'mediumtext', value: 'MEDIUMTEXT'},
];
let DateFieldType = [

]
let MethodData = [
    {label: 'GET', value: 'get'},
    {label: 'POST', value: 'post'},
]
let DrawerPlacement = [
    {label: '左', value: 'right'},
    {label: '上', value: 'top'},
];
let FormLayout = [
    // {label: 'inline', value: 'inline'},
    {label: 'vertical', value: 'vertical'},
    {label: 'horizontal', value: 'horizontal'},
];
let BtnType = [
    {label: 'default', value: 'default'},
    {label: 'primary', value: 'primary'},
    {label: 'dashed', value: 'dashed'},
    {label: 'danger', value: 'danger'},
    {label: 'link', value: 'link'},
]
let BtnShape = [
    {label: 'default', value: null},
    {label: 'circle', value: 'circle'},
    {label: 'round', value: 'round'},
]
let BooleanData = [
    {label: '是', value: true},
    {label: '否', value: false}
];
let FunViewData = [
    {label: '搜索栏', value: 'search'},
    {label: '表格栏', value: 'table'},
    {label: '都显示', value: 'all'}
]
let TableSizeData = [
    {label: '默认', value: 'default'},
    {label: '中', value: 'middle'},
    {label: '小', value: 'small'},
]
let SelectionRowData = [
    {label: '单选', value: 'radio'},
    {label: '多选', value: 'checkbox'},
]
let FormOther = [
    {label: '必填', value: 'required'},
    {label: '清空', value: 'clear'},
    {label: '禁用', value: 'disabled'},
];
let DateData= [
    {label: '日期', value: 'date'},
    {label: '范围', value: 'range'},
    {label: '时间', value: 'time'},
    {label: '月', value: 'month'},
    {label: '周', value: 'week'},
];
let DateOptions = [
    {label: '今天', value: 'showToday'},
    {label: '时间', value: 'showTime'},
];
let SelectMode = [
    {label: '默认', value: 'default'},
    {label: '多选', value: 'multiple'},
    {label: '标签', value: 'tags'}
];
let Validate = [
    {label: '手机', value: 'phone'},
    {label: '邮箱', value: 'email'},
    {label: '日期', value: 'date'},
    {label: '范围', value: 'range'},
    {label: 'Url', value: 'Url'},
    {label: 'Ip', value: 'ip'},
    {label: '长度', value: 'len'},
    {label: '身份证', value: 'idCard'},
    {label: '银行卡', value: 'bank'},
    {label: '正则', value: 'regexp'},
    {label: '字母', value: 'word'},
    {label: '汉字', value: 'chinese'},
    {label: '自定义', value: 'cus'},
];
let dbFieldIndex = [
    {label: '唯一', value: 'unique'},
    {label: '索引', value: 'index'},
];

let fieldView = [
    {label: '编辑表单', value: 'form'},
    {label: '搜索栏', value: 'search'},
    {label: '表格列表', value: 'table'},
    {label: '详情页', value: 'detail'},
];
// 数据库主键类型
let primaryType = [
    {label: 'int', value: 'int'},
    {label: 'bigint', value: 'bigint'},
    {label: 'uuid', value: 'uuid'},
];
let tableFixedData = [
    {label: '否', value: 'no'},
    {label: '左', value: 'left'},
    {label: '右', value: 'right'}
]
let alignData = [
    {label: '左', value: 'left'},
    {label: '中', value: 'center'},
    {label: '右', value: 'right'}
]
let sortData = [
    {label: '否', value: 'no'},
    {label: '升序', value: 'asc'},
    {label: '降序', value: 'desc'}
]
// 菜单例子
let demoMenus = [
    {label: '系统管理', value: '1', children: [
            {label: '角色管理', value: '11'},
            {label: '字典配置', value: '12'}
        ]}
]
export {dbFieldType, dbFieldIndex, fieldView, primaryType, demoMenus, DateOptions
    , DrawerPlacement, FormLayout, BooleanData, FormOther, Validate, DateData, sortData
    , SelectMode, TableSizeData, BtnType, BtnShape, MethodData, tableFixedData, alignData
    , SelectionRowData, FunViewData}
